package io.github.talelin.latticy.common.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @authoer:wulongbo
 * @createDate:2022/5/27
 * @description:
 */
@RefreshScope
@Component
@Data
@ConfigurationProperties(prefix = "path.allow")
public class DynamicConfigEntity {

    //直接读取nacos中config.version的配置
    private List<String> urls;

//    //直接读取nacos中access.token的配置
//    @Value("${access.token}")
//    private String token;
}
